## 平台
PLAT_CPU = arm64

# OHOS
LLVM = /opt/openharmony/llvm
SYSROOT = /opt/openharmony/sysroot

# 架构
OHOS_TARGET = aarch64-linux-ohos

GCC = $(LLVM)/bin/clang
GXX = $(LLVM)/bin/clang++
LD = $(LLVM)/bin/ld.lld
AR = $(LLVM)/bin/llvm-ar
AS = $(LLVM)/bin/llvm-as
NM = $(LLVM)/bin/llvm-nm
RANLIB = $(LLVM)/bin/llvm-ranlib
STRIP = $(LLVM)/bin/llvm-strip
OBJDUMP = $(LLVM)/bin/llvm-objdump

# 平台额外编译项和路径
EXT_CFLAGS += --target=$(OHOS_TARGET) --sysroot=$(SYSROOT)
EXT_INCS += -I$(SYSROOT)/usr/include
EXT_INCS += -I$(SYSROOT)/usr/include/$(OHOS_TARGET)
EXT_LIBS += -L$(SYSROOT)/usr/lib/$(OHOS_TARGET)
EXT_LIBS += -L$(LLVM)/lib/$(OHOS_TARGET)/c++

## 
BUILD_WITH_NEON = 1
